package org.exez.modules.visitor.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description: 白名单
 * @Author: exez-boot
 * @Date:   2020-06-27
 * @Version: V1.0
 */
@Data
@TableName("visitor_white_list")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="visitor_white_list对象", description="白名单")
public class WhiteList {

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	private java.lang.Integer id;
	/**事业单位id*/
	@Excel(name = "事业单位id", width = 15)
    @ApiModelProperty(value = "事业单位id")
	private java.lang.Integer institutionId;
	/**白名单姓名*/
	@Excel(name = "白名单姓名", width = 15)
    @ApiModelProperty(value = "白名单姓名")
	private java.lang.String whiteName;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
	private java.lang.String whiteMobile;
	/**证件类型 ：1身份证，2护照*/
	@Excel(name = "证件类型 ：1身份证，2护照", width = 15)
    @ApiModelProperty(value = "证件类型 ：1身份证，2护照")
	private java.lang.Integer identityType;
	/**证件号码*/
	@Excel(name = "证件号码", width = 15)
    @ApiModelProperty(value = "证件号码")
	private java.lang.String identityValue;

	/**
	 * 访客性别 0:女 1：男
	 */
	@Excel(name = "访客性别 0:女 1：男", width = 15)
	@ApiModelProperty(value = "访客性别 0:女 1：男")
	private java.lang.Integer sex;

	/**人脸采集(拍正面照)*/
	@Excel(name = "人脸采集(拍正面照)", width = 15)
    @ApiModelProperty(value = "人脸采集(拍正面照)")
	private java.lang.String facePhoto;
	/**工作证号*/
	@Excel(name = "工作证号", width = 15)
    @ApiModelProperty(value = "工作证号")
	private java.lang.String workNo;
	/**车牌号:逗号隔开*/
	@Excel(name = "车牌号:逗号隔开", width = 15)
    @ApiModelProperty(value = "车牌号:逗号隔开")
	private java.lang.String numberPlate;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy/MM/dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy/MM/dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy/MM/dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy/MM/dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy/MM/dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy/MM/dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
	private java.util.Date updateTime;


	/**创建人id*/
	@ApiModelProperty(value = "创建人id")
	private java.lang.String createBy;

	/**修改人id*/
	@ApiModelProperty(value = "修改人id")
	private java.lang.String updateBy;


	/**0：删除 1：未删除*/
	@Excel(name = "0：删除 1：未删除", width = 15)
    @ApiModelProperty(value = "0：删除 1：未删除")
	private java.lang.Integer deleted;
}
